SftTree/NET 2.0

Expand Method, ItemClass Class

Softel vdm, Inc.

Expands the item so its dependents become visible.

Syntax      ItemClass Class (Softelvdm.SftTreeNET)

VB   

Public Sub Expand( ByVal Style As ExpandStyleEnum )

C#   

public void Expand( ExpandStyleEnum Style );

C++   

public: void Expand( ExpandStyleEnum Style );

Style

Defines how the item and its dependents are expanded.

ExpandStyleEnum

Value

Description

All

0

Expand all dependent items, including indirect dependent items resulting in all dependents fully expanded.

DirectOnly

1

Expand this item, collapse all its dependents.

Simple

2

Expand this item, leave its dependents unchanged.

RestoreLast

3

Expand this item and restore all its dependents to their last saved state.

Comments

The Expand method expands the item so its dependents become visible.

This method can only be used for items in the item area.


Feedback / comments / error reports for this topic
© 2007 - Softel vdm, Inc. - www.softelvdm.com